package utils

import (
	"crypto/sha256"
	"encoding/hex"
	"fmt"
	"time"
)

func GetUuid(s string) string {
	now := time.Now().Unix()
	h := sha256.New()
	h.Write([]byte(fmt.Sprintf("%s%s", now, s)))
	return hex.EncodeToString(h.Sum(nil))
}
